projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
876bd65
)
* lisp/emacs-lisp/comp.el (native-compile): Type declare.
author
Andrea Corallo
<acorallo@gnu.org>
Fri, 31 May 2024 15:00:50 +0000
(17:00 +0200)
committer
Andrea Corallo
<acorallo@gnu.org>
Mon, 3 Jun 2024 15:55:16 +0000
(17:55 +0200)
lisp/emacs-lisp/comp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp.el
b/lisp/emacs-lisp/comp.el
index 32d4442ca1b1f107898101e2c17cae4a9d4bbb8d..1627294199abe34b1781aece37c2fbed475059f4 100644
(file)
--- a/
lisp/emacs-lisp/comp.el
+++ b/
lisp/emacs-lisp/comp.el
@@
-3583,6
+3583,8
@@
is a filename, if the compilation was successful return the
filename of the compiled object. If FUNCTION-OR-FILE is a
function symbol or a form, if the compilation was successful
return the compiled function."
+ (declare (ftype (function ((or string symbol) &optional string)
+ (or native-comp-function string))))
(comp--native-compile function-or-file nil output))
;;;###autoload